package com.lakeworks.domain;

import com.lakeworks.common.annotation.Excel;
import com.lakeworks.common.domain.base.BaseDomain;
import lombok.*;
import lombok.experimental.Accessors;


/**
 * 作业产品对象 opr_product
 *
 * @author lake
 * @date 2023-02-08
 */
@Builder
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class OprProduct extends BaseDomain {
    private static final long serialVersionUID = 1L;

    /**
     * 渠道ID
     */
    @Excel(name = "渠道ID")
    private Long channelId;

    /**
     * 入厂单ID
     */
    @Excel(name = "入厂单ID")
    private Long pickupId;

    /**
     * 系统产品ID
     */
    @Excel(name = "系统产品ID")
    private Long productId;

    /**
     * 配对产品ID
     */
    @Excel(name = "配对产品ID")
    private Long companionId;

    /**
     * 商品ID
     */
    @Excel(name = "商品ID")
    private Long merchandiseId;

    /**
     * 出厂单ID
     */
    @Excel(name = "出厂单ID")
    private Long shipmentId;

    /**
     * 水洗码
     */
    @Excel(name = "水洗码")
    private String barcode;

    /**
     * 洗涤方式
     */
    private String washMode;

    /**
     * 状态:
     */
    @Excel(name = "状态")
    private String status;

    /**
     * 格架号:
     */
    @Excel(name = "格架号")
    private String frameNo;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String comment;

    private Integer intStatus;

    @Override
    public String toString() {
        return "OprProduct{" +
                "channelId=" + channelId +
                ", pickupId=" + pickupId +
                ", productId=" + productId +
                ", companionId=" + companionId +
                ", merchandiseId=" + merchandiseId +
                ", shipmentId=" + shipmentId +
                ", barcode='" + barcode + '\'' +
                ", washMode='" + washMode + '\'' +
                ", status='" + status + '\'' +
                ", frameNo='" + frameNo + '\'' +
                ", comment='" + comment + '\'' +
                ", intStatus=" + intStatus +
                '}';
    }
}
